<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // alert()可以让浏览器弹出一个警告框
        alert("光辉真帅！");
        // document.write()可以向body中输出内容
        document.write("确实！");
        //console.log()可以向控制台输出内容 
        console.log("啊对对对");
    </script>
</head>
<body>
    
</body>
</html>